package com.vader.flea.service;

import com.vader.flea.dto.ProductCategoryExecution;
import com.vader.flea.entity.ProductCategory;
import com.vader.flea.exceptions.ProductCategoryOperationException;

import java.util.List;


public interface ProductCategoryService {
    List<ProductCategory> getProductCategoryList(long shopId);


    ProductCategoryExecution batchAddProductCategory(List<ProductCategory> productCategoryList)
            throws ProductCategoryOperationException;


    ProductCategoryExecution deleteProductCategory(long productCategoryId,long shopId)
            throws ProductCategoryOperationException;
}